<?php
header("Content-Type: text/html; charset=utf-8");
		$out_php = array('out1.php','out2.php');
		$pic = array('1.jpg','2.jpg','3.jpg');
		shuffle($pic);
		shuffle($out_php);
		echo "<td align=\"center\"><img src=\" ";
		echo $pic[0];
		echo "\"/></td>";
		require($out_php[0]);
		
		//$mysql = new SaeMysql();
		$link=mysql_connect(SAE_MYSQL_HOST_M.':'.SAE_MYSQL_PORT,SAE_MYSQL_USER,SAE_MYSQL_PASS);
		if($link)
		{
		
			mysql_select_db(SAE_MYSQL_DB,$link);
			//your code goes here
			
			$sql = "SELECT id,name FROM `user`";
			$query = mysql_query($sql,$link);
			while($result = mysql_fetch_array($query)){
			//	echo $result["id"];
			//	echo $result["name"].'</br>';
			}
		}
		
?>
